package com.org.gundutubruk;

public class MapSystem {
	
	public final static int getBackground(int MAP_ID) {
		if(GameSettingHolder.modegame==GameSettingHolder.BULETAN) {
			switch(MAP_ID) {
			case 1:
				return R.drawable.map1;
			case 2:
				return R.drawable.map2;
			}
		}else if(GameSettingHolder.modegame==GameSettingHolder.APOLLO) {
			switch(MAP_ID) {
			case 1:
				return R.drawable.map3;
			case 2:
				return R.drawable.map4;
			}
		}else if(GameSettingHolder.modegame==GameSettingHolder.DUEL) {
			switch(MAP_ID) {
			case 1:
				return R.drawable.map5;
			case 2:
				return R.drawable.map6;
			}
		}else if(GameSettingHolder.modegame==GameSettingHolder.LATIHAN) {
			switch(MAP_ID) {
			case 1:
				return R.drawable.map5;
			case 2:
				return R.drawable.map6;
			}
		}
		return R.drawable.map1;
	}
	
	public final static int getFrictionMap(int MAP_ID) {
		switch(MAP_ID) {
		case 1:
			return R.raw.map1;
		case 2:
			return R.raw.map2;
		default : 
			return -1;
		}
	}
}
